 import apilist from './apibackstage'
 import request from './request'
 
 const  registered = function(datas){  //用户注册
 return  request.request({
         url: apilist.Registration,
         method: 'POST',
         data:datas
     });
 }
 const  BindingDog = function(datas){  //绑定宠物
 return  request.request({
         url: apilist.BindingDog,
         method: 'POST',
         data:datas
     });
 }
 const  Login = function(datas){  //登陆
 return  request.request({
         url: apilist.Login,
         method: 'POST',
         data:datas
     });
 }
 const  GetMyDog = function(datas){  //获取我的宠物
 return  request.request({
         url: apilist.GetMyDog,
         method: 'POST',
         data:datas
     });
 }

 const  QuickLogin = function(datas){  //快速登陆
 return  request.request({
         url: apilist.QuickLogin,
         method: 'POST',
         data:datas
     });
 }
 
 // this.$apifn.Login(this.information).then((res)=>{
 // 	 if(res.data.Response.code == 200){
 // 		 console.log(res.data.Response)
 // 	 }
 //  }).catch((ret)=>{ 
 //   
 // });
 export default {
	registered,
	BindingDog,
	Login,
	GetMyDog,
	QuickLogin
 }